.class public Les/ax;
.super Les/zw;
.source "UIControllerImpl.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/ax$y;
    }
.end annotation


# instance fields
.field private A:Les/fz;

.field private B:Ljava/util/Hashtable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Hashtable<",
            "Ljava/lang/Integer;",
            "Landroid/view/MenuItem$OnMenuItemClickListener;",
            ">;"
        }
    .end annotation
.end field

.field private C:Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;

.field private D:Z

.field private E:Les/lx$d;

.field private F:Landroid/widget/RelativeLayout;

.field public G:Lcom/estrongs/android/ui/view/i;

.field public H:Les/sy;

.field private I:Landroid/widget/TextView;

.field private J:Landroid/widget/ImageView;

.field private K:Landroid/view/View;

.field private L:Landroid/view/View;

.field private M:Les/iz;

.field private N:Z

.field private O:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/v00;",
            ">;"
        }
    .end annotation
.end field

.field private P:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/v00;",
            ">;"
        }
    .end annotation
.end field

.field private Q:Landroidx/appcompat/view/ActionMode;

.field private R:Z

.field private S:Landroidx/appcompat/view/ActionMode$Callback;

.field private T:Z

.field private n:Landroidx/appcompat/app/ActionBar;

.field private o:Landroidx/appcompat/widget/Toolbar;

.field private p:Ljava/util/Hashtable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Hashtable<",
            "Ljava/lang/Integer;",
            "Landroid/view/MenuItem$OnMenuItemClickListener;",
            ">;"
        }
    .end annotation
.end field

.field private q:Landroid/view/MenuItem;

.field private r:Landroidx/appcompat/widget/SearchView;

.field private s:Landroidx/appcompat/widget/SearchView$SearchAutoComplete;

.field private t:Ljava/lang/String;

.field private u:Landroid/view/MenuItem;

.field private v:Landroid/widget/ProgressBar;

.field private w:Landroidx/appcompat/widget/SearchView$OnQueryTextListener;

.field private x:Landroid/util/SparseArray;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/util/SparseArray<",
            "Landroid/view/MenuItem$OnMenuItemClickListener;",
            ">;"
        }
    .end annotation
.end field

.field private y:Les/qy;

.field private z:Landroid/view/Menu;


# direct methods
.method public constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Les/zw;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    .line 2
    new-instance p1, Ljava/util/Hashtable;

    invoke-direct {p1}, Ljava/util/Hashtable;-><init>()V

    iput-object p1, p0, Les/ax;->p:Ljava/util/Hashtable;

    .line 3
    new-instance p1, Ljava/util/Hashtable;

    invoke-direct {p1}, Ljava/util/Hashtable;-><init>()V

    .line 4
    new-instance p1, Ljava/util/Hashtable;

    invoke-direct {p1}, Ljava/util/Hashtable;-><init>()V

    iput-object p1, p0, Les/ax;->B:Ljava/util/Hashtable;

    const/4 p1, 0x0

    .line 5
    iput-boolean p1, p0, Les/ax;->D:Z

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    .line 7
    iput-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    .line 8
    iput-object v0, p0, Les/ax;->H:Les/sy;

    .line 9
    iput-boolean p1, p0, Les/ax;->R:Z

    .line 10
    new-instance p1, Les/ax$a;

    invoke-direct {p1, p0}, Les/ax$a;-><init>(Les/ax;)V

    iput-object p1, p0, Les/ax;->S:Landroidx/appcompat/view/ActionMode$Callback;

    const/4 p1, 0x1

    .line 11
    iput-boolean p1, p0, Les/ax;->T:Z

    .line 12
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    iput-object p1, p0, Les/ax;->P:Ljava/util/List;

    return-void
.end method

.method private C()Les/lx$d;
    .locals 1

    .line 1
    iget-object v0, p0, Les/ax;->E:Les/lx$d;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/ax$h;

    invoke-direct {v0, p0}, Les/ax$h;-><init>(Les/ax;)V

    iput-object v0, p0, Les/ax;->E:Les/lx$d;

    .line 3
    :cond_0
    iget-object v0, p0, Les/ax;->E:Les/lx$d;

    return-object v0
.end method

.method private D()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const-string v1, "input_method"

    .line 2
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    const/4 v2, 0x0

    .line 4
    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    return-void
.end method

.method private E()V
    .locals 4

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    new-instance v1, Les/v00;

    const v2, 0x7f080a01

    const v3, 0x7f110b5e

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Les/ax$i;

    invoke-direct {v2, p0}, Les/ax$i;-><init>(Les/ax;)V

    .line 3
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 4
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 5
    new-instance v1, Les/v00;

    const v2, 0x7f0809a4

    const v3, 0x7f1109b2

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Les/ax$j;

    invoke-direct {v2, p0}, Les/ax$j;-><init>(Les/ax;)V

    .line 6
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 7
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 8
    new-instance v1, Les/v00;

    const v2, 0x7f0809b3

    const v3, 0x7f1109af

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Les/ax$k;

    invoke-direct {v2, p0}, Les/ax$k;-><init>(Les/ax;)V

    .line 9
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 10
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 11
    new-instance v1, Les/v00;

    const v2, 0x7f0809f4

    const v3, 0x7f1109b3

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Les/ax$l;

    invoke-direct {v2, p0}, Les/ax$l;-><init>(Les/ax;)V

    .line 12
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 13
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 14
    new-instance v1, Les/v00;

    const v2, 0x7f080974

    const v3, 0x7f1109ad

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Les/ax$m;

    invoke-direct {v2, p0}, Les/ax$m;-><init>(Les/ax;)V

    .line 15
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 16
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 17
    new-instance v1, Les/v00;

    const v2, 0x7f080992

    const v3, 0x7f1109ae

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Les/ax$n;

    invoke-direct {v2, p0}, Les/ax$n;-><init>(Les/ax;)V

    .line 18
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 19
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 20
    new-instance v1, Les/v00;

    const v2, 0x7f0809d2

    const v3, 0x7f1109aa

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Les/ax$o;

    invoke-direct {v2, p0}, Les/ax$o;-><init>(Les/ax;)V

    .line 21
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 22
    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 23
    iput-object v0, p0, Les/ax;->O:Ljava/util/List;

    return-void
.end method

.method private F()V
    .locals 4

    .line 1
    iget-object v0, p0, Les/ax;->P:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 2
    iget-object v0, p0, Les/ax;->P:Ljava/util/List;

    iget-object v1, p0, Les/ax;->O:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 3
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 4
    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v1

    .line 5
    instance-of v0, v0, Lcom/estrongs/android/ui/homepage/i;

    const/4 v2, 0x1

    if-eqz v0, :cond_1

    .line 6
    iget-object v0, p0, Les/ax;->P:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v3

    sub-int/2addr v3, v2

    invoke-interface {v0, v3}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 7
    :cond_1
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->g(Ljava/lang/String;)Z

    move-result v0

    xor-int/2addr v0, v2

    if-nez v0, :cond_3

    const/4 v0, 0x1

    :goto_0
    const/4 v1, 0x5

    if-gt v0, v1, :cond_3

    .line 8
    iget-object v1, p0, Les/ax;->P:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-le v1, v2, :cond_2

    .line 9
    iget-object v1, p0, Les/ax;->P:Ljava/util/List;

    invoke-interface {v1, v2}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 10
    :cond_3
    iget-object v0, p0, Les/ax;->u:Landroid/view/MenuItem;

    new-instance v1, Les/ax$p;

    invoke-direct {v1, p0}, Les/ax$p;-><init>(Les/ax;)V

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;

    .line 11
    iget-object v0, p0, Les/ax;->u:Landroid/view/MenuItem;

    invoke-interface {v0, v2}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

    return-void
.end method

.method private G()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v1, 0x7f090bdd

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/appcompat/widget/Toolbar;

    iput-object v0, p0, Les/ax;->o:Landroidx/appcompat/widget/Toolbar;

    .line 2
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->setSupportActionBar(Landroidx/appcompat/widget/Toolbar;)V

    .line 3
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object v0

    iput-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    const v1, 0x7f08072a

    .line 4
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setHomeAsUpIndicator(I)V

    .line 5
    iget-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setDisplayShowHomeEnabled(Z)V

    .line 6
    iget-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setHomeButtonEnabled(Z)V

    .line 7
    iget-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Landroidx/appcompat/app/ActionBar;->setDisplayShowTitleEnabled(Z)V

    .line 8
    iget-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setDisplayHomeAsUpEnabled(Z)V

    .line 9
    invoke-direct {p0}, Les/ax;->H()V

    return-void
.end method

.method private H()V
    .locals 2

    .line 1
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    new-instance v0, Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Les/zw;->g:Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;

    const/4 v1, 0x1

    .line 3
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;->setIsNarrowMode(Z)V

    .line 4
    iget-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setDisplayShowCustomEnabled(Z)V

    .line 5
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f070011

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    .line 6
    iget-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    const v1, 0x7f0c0263

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setCustomView(I)V

    .line 7
    new-instance v0, Les/ax$f;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, p0, v1}, Les/ax$f;-><init>(Les/ax;Landroid/app/Activity;)V

    iput-object v0, p0, Les/zw;->l:Les/ey;

    return-void
.end method

.method private I()V
    .locals 2

    .line 1
    :try_start_0
    const-class v0, Landroidx/appcompat/widget/Toolbar;

    const-string v1, "mMenuView"

    .line 2
    invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    const/4 v1, 0x1

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    .line 4
    iget-object v1, p0, Les/ax;->o:Landroidx/appcompat/widget/Toolbar;

    invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/appcompat/widget/ActionMenuView;

    .line 5
    invoke-direct {p0, v0}, Les/ax;->a(Landroidx/appcompat/widget/ActionMenuView;)V
    :try_end_0
    .catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_3
    .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 6
    invoke-virtual {v0}, Ljava/lang/NullPointerException;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception v0

    .line 7
    invoke-virtual {v0}, Ljava/lang/IllegalArgumentException;->printStackTrace()V

    goto :goto_0

    :catch_2
    move-exception v0

    .line 8
    invoke-virtual {v0}, Ljava/lang/IllegalAccessException;->printStackTrace()V

    goto :goto_0

    :catch_3
    move-exception v0

    .line 9
    invoke-virtual {v0}, Ljava/lang/NoSuchFieldException;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private J()V
    .locals 8

    .line 1
    iget-object v0, p0, Les/ax;->u:Landroid/view/MenuItem;

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    :cond_0
    const/4 v1, 0x2

    .line 2
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->removeGroup(I)V

    const/4 v2, 0x3

    .line 3
    invoke-interface {v0, v2}, Landroid/view/SubMenu;->removeGroup(I)V

    const/4 v3, 0x4

    .line 4
    invoke-interface {v0, v3}, Landroid/view/SubMenu;->removeGroup(I)V

    .line 5
    new-instance v4, Landroid/util/SparseArray;

    invoke-direct {v4}, Landroid/util/SparseArray;-><init>()V

    iput-object v4, p0, Les/ax;->x:Landroid/util/SparseArray;

    const/16 v4, 0x7d0

    const v5, 0x7f110b5e

    .line 6
    invoke-virtual {p0, v5}, Les/zw;->c(I)Ljava/lang/String;

    move-result-object v5

    const/4 v6, 0x0

    invoke-interface {v0, v1, v4, v6, v5}, Landroid/view/SubMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 7
    invoke-interface {v0, v4}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v1

    .line 8
    iget-object v5, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v7, 0x7f080a01

    invoke-static {v5, v1, v7}, Lcom/estrongs/android/util/p0;->a(Landroid/app/Activity;Landroid/view/MenuItem;I)V

    .line 9
    iget-object v1, p0, Les/ax;->x:Landroid/util/SparseArray;

    new-instance v5, Les/ax$v;

    invoke-direct {v5, p0}, Les/ax$v;-><init>(Les/ax;)V

    invoke-virtual {v1, v4, v5}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    const/16 v1, 0xbb8

    const v4, 0x7f1109b2

    .line 10
    invoke-virtual {p0, v4}, Les/zw;->c(I)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v0, v2, v1, v6, v4}, Landroid/view/SubMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 11
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v4

    .line 12
    iget-object v5, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v7, 0x7f0809a4

    invoke-static {v5, v4, v7}, Lcom/estrongs/android/util/p0;->a(Landroid/app/Activity;Landroid/view/MenuItem;I)V

    .line 13
    iget-object v4, p0, Les/ax;->x:Landroid/util/SparseArray;

    new-instance v5, Les/ax$w;

    invoke-direct {v5, p0}, Les/ax$w;-><init>(Les/ax;)V

    invoke-virtual {v4, v1, v5}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    const/16 v1, 0xbb9

    const v4, 0x7f1109af

    .line 14
    invoke-virtual {p0, v4}, Les/zw;->c(I)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v0, v2, v1, v6, v4}, Landroid/view/SubMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 15
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v4

    .line 16
    iget-object v5, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v7, 0x7f0809b3

    invoke-static {v5, v4, v7}, Lcom/estrongs/android/util/p0;->a(Landroid/app/Activity;Landroid/view/MenuItem;I)V

    .line 17
    iget-object v4, p0, Les/ax;->x:Landroid/util/SparseArray;

    new-instance v5, Les/ax$x;

    invoke-direct {v5, p0}, Les/ax$x;-><init>(Les/ax;)V

    invoke-virtual {v4, v1, v5}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    const/16 v1, 0xbba

    const v4, 0x7f1109b3

    .line 18
    invoke-virtual {p0, v4}, Les/zw;->c(I)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v0, v2, v1, v6, v4}, Landroid/view/SubMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 19
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v4

    .line 20
    iget-object v5, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v7, 0x7f0809f4

    invoke-static {v5, v4, v7}, Lcom/estrongs/android/util/p0;->a(Landroid/app/Activity;Landroid/view/MenuItem;I)V

    .line 21
    iget-object v4, p0, Les/ax;->x:Landroid/util/SparseArray;

    new-instance v5, Les/ax$b;

    invoke-direct {v5, p0}, Les/ax$b;-><init>(Les/ax;)V

    invoke-virtual {v4, v1, v5}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    const/16 v1, 0xbbb

    const v4, 0x7f1109ad

    .line 22
    invoke-virtual {p0, v4}, Les/zw;->c(I)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v0, v2, v1, v6, v4}, Landroid/view/SubMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 23
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v4

    .line 24
    iget-object v5, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v7, 0x7f080974

    invoke-static {v5, v4, v7}, Lcom/estrongs/android/util/p0;->a(Landroid/app/Activity;Landroid/view/MenuItem;I)V

    .line 25
    iget-object v4, p0, Les/ax;->x:Landroid/util/SparseArray;

    new-instance v5, Les/ax$c;

    invoke-direct {v5, p0}, Les/ax$c;-><init>(Les/ax;)V

    invoke-virtual {v4, v1, v5}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    const/16 v1, 0xbbc

    const v4, 0x7f1109ae

    .line 26
    invoke-virtual {p0, v4}, Les/zw;->c(I)Ljava/lang/String;

    move-result-object v4

    invoke-interface {v0, v2, v1, v6, v4}, Landroid/view/SubMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 27
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v2

    .line 28
    iget-object v4, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v5, 0x7f080992

    invoke-static {v4, v2, v5}, Lcom/estrongs/android/util/p0;->a(Landroid/app/Activity;Landroid/view/MenuItem;I)V

    .line 29
    iget-object v2, p0, Les/ax;->x:Landroid/util/SparseArray;

    new-instance v4, Les/ax$d;

    invoke-direct {v4, p0}, Les/ax$d;-><init>(Les/ax;)V

    invoke-virtual {v2, v1, v4}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    const/16 v1, 0xfa0

    const v2, 0x7f1109aa

    .line 30
    invoke-virtual {p0, v2}, Les/zw;->c(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v3, v1, v6, v2}, Landroid/view/SubMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 31
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    .line 32
    iget-object v2, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v3, 0x7f0809d2

    invoke-static {v2, v0, v3}, Lcom/estrongs/android/util/p0;->a(Landroid/app/Activity;Landroid/view/MenuItem;I)V

    .line 33
    iget-object v0, p0, Les/ax;->x:Landroid/util/SparseArray;

    new-instance v2, Les/ax$e;

    invoke-direct {v2, p0}, Les/ax$e;-><init>(Les/ax;)V

    invoke-virtual {v0, v1, v2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    return-void
.end method

.method static synthetic a(Les/ax;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->K:Landroid/view/View;

    return-object p0
.end method

.method static synthetic a(Les/ax;Landroid/view/View;)Landroid/view/View;
    .locals 0

    .line 2
    iput-object p1, p0, Les/ax;->K:Landroid/view/View;

    return-object p1
.end method

.method static synthetic a(Les/ax;Landroid/widget/ImageView;)Landroid/widget/ImageView;
    .locals 0

    .line 6
    iput-object p1, p0, Les/ax;->J:Landroid/widget/ImageView;

    return-object p1
.end method

.method static synthetic a(Les/ax;Landroid/widget/TextView;)Landroid/widget/TextView;
    .locals 0

    .line 5
    iput-object p1, p0, Les/ax;->I:Landroid/widget/TextView;

    return-object p1
.end method

.method static synthetic a(Les/ax;Landroidx/appcompat/view/ActionMode;)Landroidx/appcompat/view/ActionMode;
    .locals 0

    .line 7
    iput-object p1, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    return-object p1
.end method

.method private a(Landroidx/appcompat/widget/SearchView;)Landroidx/appcompat/widget/SearchView$SearchAutoComplete;
    .locals 6

    .line 102
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    :goto_0
    const/4 v2, 0x0

    const/4 v3, 0x0

    .line 103
    :goto_1
    invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v4

    if-ge v3, v4, :cond_2

    .line 104
    invoke-virtual {p1, v3}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    .line 105
    instance-of v5, v4, Landroidx/appcompat/widget/SearchView$SearchAutoComplete;

    if-eqz v5, :cond_0

    .line 106
    check-cast v4, Landroidx/appcompat/widget/SearchView$SearchAutoComplete;

    move-object v1, v4

    goto :goto_2

    .line 107
    :cond_0
    instance-of v5, v4, Landroid/view/ViewGroup;

    if-eqz v5, :cond_1

    .line 108
    check-cast v4, Landroid/view/ViewGroup;

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_2
    :goto_2
    if-nez v1, :cond_4

    .line 109
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-nez p1, :cond_3

    goto :goto_3

    .line 110
    :cond_3
    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/view/ViewGroup;

    goto :goto_0

    :cond_4
    :goto_3
    return-object v1
.end method

.method static synthetic a(Les/ax;Les/iz;)Les/iz;
    .locals 0

    .line 8
    iput-object p1, p0, Les/ax;->M:Les/iz;

    return-object p1
.end method

.method static synthetic a(Les/ax;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 3
    iput-object p1, p0, Les/ax;->t:Ljava/lang/String;

    return-object p1
.end method

.method private a(Landroidx/appcompat/widget/ActionMenuView;)V
    .locals 2

    .line 22
    const-class v0, Landroidx/appcompat/widget/ActionMenuView;

    :try_start_0
    const-string v1, "mPresenter"

    .line 23
    invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    const/4 v1, 0x1

    .line 24
    invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    .line 25
    invoke-virtual {v0, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroidx/appcompat/view/menu/BaseMenuPresenter;

    .line 26
    invoke-virtual {p1}, Landroidx/appcompat/view/menu/BaseMenuPresenter;->getCallback()Landroidx/appcompat/view/menu/MenuPresenter$Callback;

    move-result-object v0

    .line 27
    instance-of v1, v0, Les/ax$y;

    if-nez v1, :cond_0

    .line 28
    new-instance v1, Les/ax$y;

    invoke-direct {v1, p0, v0, p1}, Les/ax$y;-><init>(Les/ax;Landroidx/appcompat/view/menu/MenuPresenter$Callback;Landroidx/appcompat/view/menu/MenuPresenter;)V

    .line 29
    invoke-virtual {p1, v1}, Landroidx/appcompat/view/menu/BaseMenuPresenter;->setCallback(Landroidx/appcompat/view/menu/MenuPresenter$Callback;)V
    :try_end_0
    .catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_3
    .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 30
    invoke-virtual {p1}, Ljava/lang/NullPointerException;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception p1

    .line 31
    invoke-virtual {p1}, Ljava/lang/IllegalArgumentException;->printStackTrace()V

    goto :goto_0

    :catch_2
    move-exception p1

    .line 32
    invoke-virtual {p1}, Ljava/lang/IllegalAccessException;->printStackTrace()V

    goto :goto_0

    :catch_3
    move-exception p1

    .line 33
    invoke-virtual {p1}, Ljava/lang/NoSuchFieldException;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method private a(ILandroid/view/MenuItem;)Z
    .locals 1

    .line 111
    iget-object v0, p0, Les/ax;->x:Landroid/util/SparseArray;

    invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/view/MenuItem$OnMenuItemClickListener;

    if-eqz p1, :cond_0

    .line 112
    invoke-interface {p1, p2}, Landroid/view/MenuItem$OnMenuItemClickListener;->onMenuItemClick(Landroid/view/MenuItem;)Z

    move-result p1

    return p1

    :cond_0
    const/4 p1, 0x0

    return p1
.end method

.method static synthetic a(Les/ax;Z)Z
    .locals 0

    .line 4
    iput-boolean p1, p0, Les/ax;->T:Z

    return p1
.end method

.method static synthetic b(Les/ax;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->L:Landroid/view/View;

    return-object p0
.end method

.method static synthetic b(Les/ax;Landroid/view/View;)Landroid/view/View;
    .locals 0

    .line 2
    iput-object p1, p0, Les/ax;->L:Landroid/view/View;

    return-object p1
.end method

.method static synthetic b(Les/ax;Ljava/lang/String;)V
    .locals 0

    .line 4
    invoke-direct {p0, p1}, Les/ax;->d(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic b(Les/ax;Z)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Les/ax;->f(Z)V

    return-void
.end method

.method static synthetic c(Les/ax;)Landroidx/appcompat/widget/SearchView;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->r:Landroidx/appcompat/widget/SearchView;

    return-object p0
.end method

.method private c(Landroid/view/Menu;)V
    .locals 2

    const v0, 0x7f09006e

    .line 3
    invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object p1

    iput-object p1, p0, Les/ax;->q:Landroid/view/MenuItem;

    const v0, 0x7f110069

    .line 4
    invoke-interface {p1, v0}, Landroid/view/MenuItem;->setTitle(I)Landroid/view/MenuItem;

    .line 5
    iget-object p1, p0, Les/ax;->q:Landroid/view/MenuItem;

    invoke-static {p1}, Landroidx/core/view/MenuItemCompat;->getActionView(Landroid/view/MenuItem;)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroidx/appcompat/widget/SearchView;

    iput-object p1, p0, Les/ax;->r:Landroidx/appcompat/widget/SearchView;

    if-nez p1, :cond_0

    return-void

    .line 6
    :cond_0
    invoke-direct {p0, p1}, Les/ax;->a(Landroidx/appcompat/widget/SearchView;)Landroidx/appcompat/widget/SearchView$SearchAutoComplete;

    move-result-object p1

    iput-object p1, p0, Les/ax;->s:Landroidx/appcompat/widget/SearchView$SearchAutoComplete;

    if-eqz p1, :cond_1

    .line 7
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    const v1, 0x7f06024d

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    invoke-virtual {p1, v0}, Landroid/widget/AutoCompleteTextView;->setTextColor(I)V

    .line 8
    :cond_1
    iget-object p1, p0, Les/ax;->q:Landroid/view/MenuItem;

    new-instance v0, Les/ax$t;

    invoke-direct {v0, p0}, Les/ax$t;-><init>(Les/ax;)V

    invoke-static {p1, v0}, Landroidx/core/view/MenuItemCompat;->setOnActionExpandListener(Landroid/view/MenuItem;Landroidx/core/view/MenuItemCompat$OnActionExpandListener;)Landroid/view/MenuItem;

    .line 9
    new-instance p1, Les/ax$u;

    invoke-direct {p1, p0}, Les/ax$u;-><init>(Les/ax;)V

    iput-object p1, p0, Les/ax;->w:Landroidx/appcompat/widget/SearchView$OnQueryTextListener;

    .line 10
    invoke-direct {p0}, Les/ax;->J()V

    .line 11
    invoke-direct {p0}, Les/ax;->E()V

    return-void
.end method

.method static synthetic c(Les/ax;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Les/ax;->N:Z

    return p1
.end method

.method static synthetic d(Les/ax;)Landroid/view/MenuItem;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->u:Landroid/view/MenuItem;

    return-object p0
.end method

.method private d(Ljava/lang/String;)V
    .locals 3

    .line 2
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->g(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    .line 4
    instance-of v1, v0, Lcom/estrongs/android/ui/homepage/i;

    if-eqz v1, :cond_1

    const-string v0, "externalstorage://"

    goto :goto_0

    :cond_1
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    .line 5
    :goto_0
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v2, p0, Les/ax;->t:Ljava/lang/String;

    invoke-virtual {v1, v0, p1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_2
    return-void
.end method

.method static synthetic e(Les/ax;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/ax;->F()V

    return-void
.end method

.method static synthetic f(Les/ax;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->t:Ljava/lang/String;

    return-object p0
.end method

.method private f(Z)V
    .locals 0

    .line 2
    invoke-virtual {p0}, Les/ax;->w()Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    :cond_0
    const/4 p1, 0x0

    .line 3
    iput-boolean p1, p0, Les/ax;->T:Z

    .line 4
    iget-object p1, p0, Les/ax;->q:Landroid/view/MenuItem;

    invoke-static {p1}, Landroidx/core/view/MenuItemCompat;->collapseActionView(Landroid/view/MenuItem;)Z

    return-void
.end method

.method static synthetic g(Les/ax;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/ax;->T:Z

    return p0
.end method

.method static synthetic h(Les/ax;)Landroid/view/Menu;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->z:Landroid/view/Menu;

    return-object p0
.end method

.method static synthetic i(Les/ax;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/ax;->D()V

    return-void
.end method

.method static synthetic j(Les/ax;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/ax;->D:Z

    return p0
.end method

.method static synthetic k(Les/ax;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->I:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic l(Les/ax;)Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->C:Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;

    return-object p0
.end method

.method static synthetic m(Les/ax;)Landroid/widget/ImageView;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->J:Landroid/widget/ImageView;

    return-object p0
.end method

.method static synthetic n(Les/ax;)Landroidx/appcompat/widget/Toolbar;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->o:Landroidx/appcompat/widget/Toolbar;

    return-object p0
.end method

.method static synthetic o(Les/ax;)Les/iz;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->M:Les/iz;

    return-object p0
.end method

.method static synthetic p(Les/ax;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/ax;->N:Z

    return p0
.end method

.method static synthetic q(Les/ax;)Ljava/util/List;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->P:Ljava/util/List;

    return-object p0
.end method

.method static synthetic r(Les/ax;)Landroidx/appcompat/widget/SearchView$OnQueryTextListener;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ax;->w:Landroidx/appcompat/widget/SearchView$OnQueryTextListener;

    return-object p0
.end method


# virtual methods
.method public A()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    const-string v1, "sd"

    const-string v2, "search"

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    :cond_0
    iget-object v0, p0, Les/ax;->q:Landroid/view/MenuItem;

    if-nez v0, :cond_1

    return-void

    .line 5
    :cond_1
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-nez v0, :cond_2

    return-void

    .line 6
    :cond_2
    iget-object v1, p0, Les/ax;->q:Landroid/view/MenuItem;

    invoke-static {v1}, Landroidx/core/view/MenuItemCompat;->expandActionView(Landroid/view/MenuItem;)Z

    const/4 v1, 0x1

    .line 7
    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->f(Z)V

    return-void
.end method

.method public B()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-nez v0, :cond_0

    const-string v1, ""

    goto :goto_0

    .line 2
    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v1

    .line 3
    :goto_0
    iget-object v2, p0, Les/ax;->v:Landroid/widget/ProgressBar;

    if-eqz v2, :cond_2

    .line 4
    invoke-static {v1}, Lcom/estrongs/android/util/h0;->l2(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->q0()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 5
    iget-object v0, p0, Les/ax;->v:Landroid/widget/ProgressBar;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setIndeterminate(Z)V

    .line 6
    iget-object v0, p0, Les/ax;->v:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    goto :goto_1

    .line 7
    :cond_1
    iget-object v0, p0, Les/ax;->v:Landroid/widget/ProgressBar;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    :cond_2
    :goto_1
    return-void
.end method

.method public a()V
    .locals 3

    .line 155
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const-string v1, "edit_mode"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 156
    iget-object v0, p0, Les/ax;->H:Les/sy;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Les/sy;->c(Z)V

    .line 157
    iget-object v0, p0, Les/ax;->H:Les/sy;

    invoke-virtual {v0}, Les/py;->j()V

    .line 158
    :cond_0
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    .line 159
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0xe

    if-lt v1, v2, :cond_1

    if-eqz v0, :cond_1

    .line 160
    invoke-virtual {v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r()Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 161
    invoke-direct {p0}, Les/ax;->C()Les/lx$d;

    move-result-object v2

    invoke-virtual {v1, v2}, Les/lx;->setHandleViewDisplayListener(Les/lx$d;)V

    .line 162
    iget-object v2, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Les/cx;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)Z

    move-result v0

    .line 163
    invoke-virtual {v1, v0}, Les/lx;->setIsShowAdressBar(Z)V

    :cond_1
    return-void
.end method

.method public a(I)V
    .locals 3

    .line 165
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const-string v1, "edit_mode"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 166
    iget-object v0, p0, Les/ax;->H:Les/sy;

    if-nez v0, :cond_0

    return-void

    .line 167
    :cond_0
    invoke-virtual {v0, p1}, Les/sy;->f(I)V

    .line 168
    :cond_1
    iget-object v0, p0, Les/ax;->y:Les/qy;

    if-nez v0, :cond_2

    .line 169
    new-instance v0, Les/qy;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, v1}, Les/qy;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    iput-object v0, p0, Les/ax;->y:Les/qy;

    .line 170
    invoke-virtual {v0}, Les/qy;->d()V

    .line 171
    iget-object v0, p0, Les/ax;->y:Les/qy;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Les/qy;->a(ZZ)V

    .line 172
    :cond_2
    iget-object v0, p0, Les/ax;->y:Les/qy;

    invoke-virtual {v0, p1}, Les/qy;->a(I)V

    return-void
.end method

.method public a(IIF)V
    .locals 8

    .line 115
    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    const/4 v1, 0x0

    const v2, 0x38d1b717    # 1.0E-4f

    cmpg-float v0, v0, v2

    if-gez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    .line 116
    :goto_0
    iget-object v2, p0, Les/zw;->g:Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;

    invoke-virtual {v2}, Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;->a()Z

    move-result v2

    if-nez v2, :cond_1

    cmpl-float v2, v0, v1

    if-nez v2, :cond_1

    goto :goto_3

    .line 117
    :cond_1
    invoke-virtual {p0}, Les/zw;->t()Les/hy;

    move-result-object v2

    invoke-virtual {v2, p1}, Les/hy;->a(I)Les/gy;

    move-result-object p1

    const/4 v2, 0x0

    if-eqz p1, :cond_2

    .line 118
    invoke-virtual {p1}, Les/gy;->a()Ljava/util/ArrayList;

    move-result-object p1

    goto :goto_1

    :cond_2
    move-object p1, v2

    .line 119
    :goto_1
    invoke-virtual {p0}, Les/zw;->t()Les/hy;

    move-result-object v3

    invoke-virtual {v3, p2}, Les/hy;->a(I)Les/gy;

    move-result-object v3

    if-eqz v3, :cond_3

    .line 120
    invoke-virtual {v3}, Les/gy;->a()Ljava/util/ArrayList;

    move-result-object v2

    :cond_3
    const/4 v4, 0x1

    const/4 v5, 0x0

    if-nez v2, :cond_5

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/String;

    .line 121
    iget-object v6, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v6, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(I)Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p2

    invoke-virtual {v3}, Les/gy;->c()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, p2, v3, v7, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Les/gy;Ljava/lang/String;[Ljava/lang/String;)V

    .line 122
    aget-object p2, v2, v5

    .line 123
    aget-object v2, v2, v4

    .line 124
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    if-eqz v2, :cond_4

    .line 125
    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 126
    :cond_4
    invoke-virtual {v6, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 127
    invoke-virtual {v3, v6}, Les/gy;->a(Ljava/util/ArrayList;)V

    move-object v2, v6

    .line 128
    :cond_5
    iget-object p2, p0, Les/zw;->g:Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;

    cmpl-float v0, v0, v1

    if-lez v0, :cond_6

    goto :goto_2

    :cond_6
    const/4 v4, 0x0

    :goto_2
    invoke-virtual {p2, v4}, Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;->setIsScreenSwitching(Z)V

    cmpl-float p2, p3, v1

    if-lez p2, :cond_7

    .line 129
    iget-object p2, p0, Les/zw;->g:Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;

    invoke-virtual {p2, p1, v2, p3}, Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;->a(Ljava/util/List;Ljava/util/List;F)V

    goto :goto_3

    .line 130
    :cond_7
    iget-object p2, p0, Les/zw;->g:Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;

    invoke-virtual {p2, v2, p1, p3}, Lcom/estrongs/android/ui/addressbar/AdvancedAddressBar;->a(Ljava/util/List;Ljava/util/List;F)V

    :goto_3
    return-void
.end method

.method public a(Landroid/content/res/Configuration;)V
    .locals 3

    .line 86
    iget-object v0, p0, Les/ax;->M:Les/iz;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Les/iz;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 87
    iget-object v0, p0, Les/ax;->M:Les/iz;

    invoke-virtual {v0}, Les/iz;->a()V

    :cond_0
    const/4 v0, 0x0

    .line 88
    iput-object v0, p0, Les/ax;->M:Les/iz;

    .line 89
    iget-object v0, p0, Les/ax;->H:Les/sy;

    if-eqz v0, :cond_1

    iget-object v1, v0, Les/sy;->A:Les/wy;

    if-eqz v1, :cond_1

    .line 90
    invoke-virtual {v0}, Les/py;->j()V

    .line 91
    iget-object v0, p0, Les/ax;->H:Les/sy;

    iget-object v0, v0, Les/sy;->A:Les/wy;

    invoke-virtual {v0}, Les/py;->j()V

    .line 92
    :cond_1
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    if-eqz v0, :cond_2

    .line 93
    invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->finish()V

    goto :goto_0

    .line 94
    :cond_2
    iget-boolean v0, p0, Les/ax;->R:Z

    if-nez v0, :cond_6

    .line 95
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_4

    .line 96
    instance-of v2, v0, Lcom/estrongs/android/ui/homepage/i;

    if-nez v2, :cond_3

    instance-of v2, v0, Lcom/estrongs/android/view/a0;

    if-nez v2, :cond_3

    instance-of v2, v0, Lcom/estrongs/android/view/y;

    if-eqz v2, :cond_4

    .line 97
    :cond_3
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iput-boolean v1, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->y:Z

    goto :goto_0

    :cond_4
    if-eqz v0, :cond_5

    .line 98
    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Z)V

    .line 99
    :cond_5
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->U()V

    .line 100
    new-instance v1, Les/ax$s;

    invoke-direct {v1, p0, v0}, Les/ax$s;-><init>(Les/ax;Lcom/estrongs/android/view/FileGridViewWrapper;)V

    invoke-virtual {p0, v1}, Les/zw;->a(Ljava/lang/Runnable;)V

    .line 101
    :cond_6
    :goto_0
    invoke-super {p0, p1}, Les/zw;->a(Landroid/content/res/Configuration;)V

    return-void
.end method

.method public a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)V
    .locals 0

    .line 114
    invoke-super {p0, p1, p2}, Les/zw;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)V

    return-void
.end method

.method public a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;[Ljava/lang/String;I)V
    .locals 0

    .line 113
    invoke-super {p0, p1, p2, p3, p4}, Les/zw;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;[Ljava/lang/String;I)V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 6

    .line 138
    iget-object v0, p0, Les/ax;->H:Les/sy;

    if-eqz v0, :cond_4

    .line 139
    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 140
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    const-string v2, "paste_mode"

    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;)Les/my;

    move-result-object v0

    .line 141
    invoke-virtual {v0, v1}, Les/my;->a(I)Les/v00;

    move-result-object v3

    const/4 v4, 0x1

    .line 142
    invoke-virtual {v0, v4}, Les/my;->a(I)Les/v00;

    move-result-object v0

    .line 143
    iget-object v5, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v5, p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->c(Ljava/lang/String;)Z

    move-result v5

    if-nez v5, :cond_1

    if-eqz v3, :cond_0

    .line 144
    invoke-virtual {v3}, Les/v00;->isEnabled()Z

    move-result v4

    if-eqz v4, :cond_0

    .line 145
    invoke-virtual {v3, v1}, Les/v00;->setEnabled(Z)Les/v00;

    :cond_0
    if-eqz v0, :cond_3

    .line 146
    invoke-virtual {v0}, Les/v00;->isEnabled()Z

    move-result v3

    if-eqz v3, :cond_3

    .line 147
    invoke-virtual {v0, v1}, Les/v00;->setEnabled(Z)Les/v00;

    goto :goto_0

    :cond_1
    if-eqz v3, :cond_2

    .line 148
    invoke-virtual {v3}, Les/v00;->isEnabled()Z

    move-result v5

    if-nez v5, :cond_2

    .line 149
    invoke-virtual {v3, v4}, Les/v00;->setEnabled(Z)Les/v00;

    :cond_2
    if-eqz v0, :cond_3

    .line 150
    invoke-virtual {v0}, Les/v00;->isEnabled()Z

    move-result v3

    if-nez v3, :cond_3

    .line 151
    invoke-virtual {v0, v4}, Les/v00;->setEnabled(Z)Les/v00;

    .line 152
    :cond_3
    :goto_0
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/view/i;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_4

    .line 153
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Ljava/lang/Boolean;)V

    .line 154
    :cond_4
    invoke-virtual {p0, p1}, Les/ax;->b(Ljava/lang/String;)V

    return-void
.end method

.method public a(Ljava/util/List;I)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;I)V"
        }
    .end annotation

    .line 131
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const-string v1, "edit_mode"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 132
    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 133
    iget-object v0, p0, Les/ax;->H:Les/sy;

    iget-object v2, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2, p1}, Les/sy;->a(Ljava/lang/String;Ljava/util/List;)V

    .line 134
    :cond_0
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    if-eqz v0, :cond_2

    if-nez p1, :cond_1

    goto :goto_0

    .line 135
    :cond_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    :goto_0
    iput v1, p0, Les/zw;->h:I

    .line 136
    iput p2, p0, Les/zw;->i:I

    .line 137
    iget-object p1, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    invoke-virtual {p1}, Landroidx/appcompat/view/ActionMode;->invalidate()V

    :cond_2
    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 164
    iget-object p1, p0, Les/ax;->H:Les/sy;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Les/sy;->c(Z)V

    return-void
.end method

.method public a(Landroid/view/Menu;)Z
    .locals 3

    .line 9
    iput-object p1, p0, Les/ax;->z:Landroid/view/Menu;

    .line 10
    invoke-direct {p0}, Les/ax;->I()V

    .line 11
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatActivity;->getMenuInflater()Landroid/view/MenuInflater;

    move-result-object v0

    const v1, 0x7f0d0002

    invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V

    const v0, 0x7f090787

    .line 12
    invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    iput-object v0, p0, Les/ax;->u:Landroid/view/MenuItem;

    .line 13
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f0809ae

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->g(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(Landroid/graphics/drawable/Drawable;)Landroid/view/MenuItem;

    .line 14
    iget-object v0, p0, Les/ax;->u:Landroid/view/MenuItem;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v2, 0x7f1103e7

    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setTitle(Ljava/lang/CharSequence;)Landroid/view/MenuItem;

    .line 15
    invoke-direct {p0, p1}, Les/ax;->c(Landroid/view/Menu;)V

    .line 16
    iget-object p1, p0, Les/ax;->y:Les/qy;

    const/4 v0, 0x1

    if-nez p1, :cond_0

    .line 17
    new-instance p1, Les/qy;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p1, v1}, Les/qy;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    iput-object p1, p0, Les/ax;->y:Les/qy;

    .line 18
    invoke-virtual {p1}, Les/qy;->d()V

    .line 19
    iget-object p1, p0, Les/ax;->y:Les/qy;

    const/4 v1, 0x0

    invoke-virtual {p1, v1, v0}, Les/qy;->a(ZZ)V

    .line 20
    :cond_0
    iget-object p1, p0, Les/ax;->A:Les/fz;

    if-nez p1, :cond_1

    .line 21
    new-instance p1, Les/fz;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p1, v1}, Les/fz;-><init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    iput-object p1, p0, Les/ax;->A:Les/fz;

    :cond_1
    return v0
.end method

.method public a(Landroid/view/Menu;Ljava/lang/String;)Z
    .locals 7

    .line 34
    iget-object v0, p0, Les/ax;->u:Landroid/view/MenuItem;

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v0

    const/4 v1, 0x1

    .line 35
    invoke-interface {v0, v1}, Landroid/view/SubMenu;->removeGroup(I)V

    .line 36
    iget-object v2, p0, Les/ax;->p:Ljava/util/Hashtable;

    invoke-virtual {v2}, Ljava/util/Hashtable;->clear()V

    const/4 v2, 0x6

    .line 37
    invoke-interface {p1, v2}, Landroid/view/Menu;->removeGroup(I)V

    .line 38
    iget-object p1, p0, Les/ax;->B:Ljava/util/Hashtable;

    invoke-virtual {p1}, Ljava/util/Hashtable;->clear()V

    .line 39
    iget-object p1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-boolean v3, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->x:Z

    const/4 v4, 0x0

    if-nez v3, :cond_6

    iget-boolean p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->y:Z

    if-nez p1, :cond_6

    iget-object p1, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result p1

    if-nez p1, :cond_0

    goto/16 :goto_1

    .line 40
    :cond_0
    iget-object p1, p0, Les/zw;->l:Les/ey;

    iget-object v3, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v3}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p1, v3}, Les/ey;->a(Ljava/lang/String;)V

    .line 41
    iget-object p1, p0, Les/zw;->l:Les/ey;

    invoke-virtual {p1}, Les/ey;->i()V

    .line 42
    iget-object p1, p0, Les/ax;->y:Les/qy;

    invoke-virtual {p1}, Les/ny;->b()[Ljava/lang/String;

    move-result-object p1

    if-nez p1, :cond_1

    return v4

    .line 43
    :cond_1
    iput-boolean v4, p0, Les/ax;->D:Z

    .line 44
    iget-object v3, p0, Les/ax;->C:Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;->setVisibility(I)V

    .line 45
    array-length v3, p1

    .line 46
    iget-object v5, p0, Les/ax;->y:Les/qy;

    const-string v6, "message_box"

    invoke-virtual {v5, p1, v6}, Les/ny;->a([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    .line 47
    array-length v5, p1

    if-eq v3, v5, :cond_2

    .line 48
    iget-object v5, p0, Les/zw;->l:Les/ey;

    invoke-virtual {v5}, Les/ey;->i()V

    .line 49
    :cond_2
    iget-object v5, p0, Les/ax;->y:Les/qy;

    const-string v6, "search"

    invoke-virtual {v5, p1, v6}, Les/ny;->a([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    .line 50
    array-length v5, p1

    if-eq v5, v3, :cond_3

    .line 51
    iget-object p2, p0, Les/zw;->l:Les/ey;

    invoke-virtual {p2}, Les/ey;->i()V

    .line 52
    iget-object p2, p0, Les/zw;->l:Les/ey;

    invoke-virtual {p2}, Les/ey;->j()V

    goto :goto_0

    .line 53
    :cond_3
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->z0(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_4

    .line 54
    iget-object p2, p0, Les/zw;->l:Les/ey;

    invoke-virtual {p2}, Les/ey;->f()V

    goto :goto_0

    .line 55
    :cond_4
    iget-object p2, p0, Les/zw;->l:Les/ey;

    invoke-virtual {p2}, Les/ey;->d()V

    .line 56
    iget-object p2, p0, Les/zw;->l:Les/ey;

    invoke-virtual {p2}, Les/ey;->e()V

    .line 57
    :goto_0
    array-length p2, p1

    if-nez p2, :cond_5

    .line 58
    iget-object p1, p0, Les/ax;->u:Landroid/view/MenuItem;

    invoke-interface {p1, v4}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

    goto :goto_2

    .line 59
    :cond_5
    iget-object p2, p0, Les/ax;->y:Les/qy;

    invoke-virtual {p2, p1}, Les/ny;->a([Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    .line 60
    iget-object p2, p0, Les/ax;->u:Landroid/view/MenuItem;

    new-instance v3, Les/ax$r;

    invoke-direct {v3, p0, p1}, Les/ax$r;-><init>(Les/ax;Ljava/util/List;)V

    invoke-interface {p2, v3}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;

    .line 61
    iget-object p1, p0, Les/ax;->u:Landroid/view/MenuItem;

    invoke-interface {p1, v1}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

    goto :goto_2

    .line 62
    :cond_6
    :goto_1
    iget-object p1, p0, Les/ax;->q:Landroid/view/MenuItem;

    invoke-interface {p1, v4}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

    .line 63
    iget-object p1, p0, Les/zw;->l:Les/ey;

    invoke-virtual {p1}, Les/ey;->e()V

    .line 64
    iget-object p1, p0, Les/zw;->l:Les/ey;

    iget-object p2, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Les/ey;->a(Ljava/lang/String;)V

    .line 65
    iget-object p1, p0, Les/ax;->u:Landroid/view/MenuItem;

    invoke-interface {p1, v4}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;

    .line 66
    :goto_2
    iget-object p1, p0, Les/ax;->q:Landroid/view/MenuItem;

    invoke-static {p1}, Landroidx/core/view/MenuItemCompat;->isActionViewExpanded(Landroid/view/MenuItem;)Z

    move-result p1

    const/4 p2, 0x4

    const/4 v3, 0x3

    const/4 v5, 0x2

    if-eqz p1, :cond_8

    .line 67
    iget-object p1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    if-eqz p1, :cond_7

    .line 68
    invoke-interface {v0, v5, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 69
    invoke-interface {v0, v3, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 70
    invoke-interface {v0, p2, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 71
    :cond_7
    invoke-interface {v0, v1, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 72
    invoke-interface {v0, v2, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    goto :goto_3

    .line 73
    :cond_8
    invoke-interface {v0, v5, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 74
    invoke-interface {v0, v3, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 75
    invoke-interface {v0, p2, v4}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 76
    invoke-interface {v0, v1, v1}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    .line 77
    invoke-interface {v0, v2, v1}, Landroid/view/SubMenu;->setGroupVisible(IZ)V

    :goto_3
    return v4
.end method

.method public a(Landroid/view/MenuItem;)Z
    .locals 4

    .line 78
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    .line 79
    invoke-interface {p1}, Landroid/view/MenuItem;->getGroupId()I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_0

    .line 80
    iget-object v1, p0, Les/ax;->p:Ljava/util/Hashtable;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/MenuItem$OnMenuItemClickListener;

    if-eqz v0, :cond_3

    .line 81
    invoke-interface {v0, p1}, Landroid/view/MenuItem$OnMenuItemClickListener;->onMenuItemClick(Landroid/view/MenuItem;)Z

    return v2

    :cond_0
    const/4 v3, 0x6

    if-ne v1, v3, :cond_1

    .line 82
    iget-object v1, p0, Les/ax;->B:Ljava/util/Hashtable;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/MenuItem$OnMenuItemClickListener;

    if-eqz v0, :cond_3

    .line 83
    invoke-interface {v0, p1}, Landroid/view/MenuItem$OnMenuItemClickListener;->onMenuItemClick(Landroid/view/MenuItem;)Z

    return v2

    .line 84
    :cond_1
    invoke-direct {p0, v0, p1}, Les/ax;->a(ILandroid/view/MenuItem;)Z

    move-result p1

    if-eqz p1, :cond_2

    return v2

    :cond_2
    const p1, 0x102002c

    if-ne v0, p1, :cond_3

    .line 85
    iget-object p1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->q0()V

    return v2

    :cond_3
    const/4 p1, 0x0

    return p1
.end method

.method public b()V
    .locals 3

    .line 19
    iget-object v0, p0, Les/ax;->H:Les/sy;

    if-eqz v0, :cond_0

    .line 20
    invoke-virtual {v0}, Les/sy;->k()V

    .line 21
    :cond_0
    iget-object v0, p0, Les/ax;->y:Les/qy;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Les/qy;->a(ZZ)V

    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 3
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .line 8
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const-string v1, "edit_mode"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 9
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v1, v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Ljava/lang/Boolean;)V

    .line 10
    :cond_0
    iget-object v0, p0, Les/ax;->z:Landroid/view/Menu;

    if-eqz v0, :cond_1

    .line 11
    invoke-virtual {p0, v0, p1}, Les/ax;->a(Landroid/view/Menu;Ljava/lang/String;)Z

    goto :goto_0

    .line 12
    :cond_1
    iget-object p1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Landroidx/appcompat/app/AppCompatActivity;->invalidateOptionsMenu()V

    :goto_0
    return-void
.end method

.method public b(Z)V
    .locals 2

    .line 13
    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 14
    iget-object v0, p0, Les/ax;->H:Les/sy;

    invoke-virtual {v0, p1}, Les/sy;->d(Z)V

    .line 15
    iget-object p1, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/view/i;->b(Z)V

    .line 16
    iget-object p1, p0, Les/ax;->z:Landroid/view/Menu;

    if-eqz p1, :cond_0

    .line 17
    invoke-virtual {p0, p1}, Les/ax;->b(Landroid/view/Menu;)Z

    goto :goto_0

    .line 18
    :cond_0
    iget-object p1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Landroidx/appcompat/app/AppCompatActivity;->invalidateOptionsMenu()V

    :goto_0
    return-void
.end method

.method public b(Landroid/view/Menu;)Z
    .locals 1

    .line 5
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 6
    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 7
    :goto_0
    invoke-virtual {p0, p1, v0}, Les/ax;->a(Landroid/view/Menu;Ljava/lang/String;)Z

    move-result p1

    return p1
.end method

.method public c()V
    .locals 1

    .line 12
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    if-eqz v0, :cond_0

    .line 13
    invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->finish()V

    :cond_0
    return-void
.end method

.method public c(Z)V
    .locals 0

    .line 14
    invoke-virtual {p0}, Les/ax;->w()Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    .line 15
    :cond_0
    iget-object p1, p0, Les/ax;->q:Landroid/view/MenuItem;

    invoke-static {p1}, Landroidx/core/view/MenuItemCompat;->collapseActionView(Landroid/view/MenuItem;)Z

    return-void
.end method

.method public d(Z)V
    .locals 2

    .line 6
    invoke-static {}, Lcom/estrongs/android/ui/homepage/j;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    .line 7
    new-instance p1, Landroid/graphics/drawable/ColorDrawable;

    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->v()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    const v1, 0x7f060103

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    invoke-direct {p1, v0}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    goto :goto_0

    .line 8
    :cond_0
    new-instance p1, Landroid/graphics/drawable/ColorDrawable;

    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->v()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    const v1, 0x7f060102

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v0

    invoke-direct {p1, v0}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    .line 9
    :goto_0
    iget-object v0, p0, Les/ax;->n:Landroidx/appcompat/app/ActionBar;

    invoke-virtual {v0, p1}, Landroidx/appcompat/app/ActionBar;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    return-void
.end method

.method public e()V
    .locals 3
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .line 3
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    const-string v1, "normal_mode"

    if-eqz v0, :cond_0

    const/4 v2, 0x1

    .line 4
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Ljava/lang/Boolean;)V

    .line 5
    :cond_0
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iput-object v1, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    .line 6
    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 7
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->x:Z

    .line 8
    iget-object v1, p0, Les/ax;->z:Landroid/view/Menu;

    if-eqz v1, :cond_1

    .line 9
    invoke-virtual {p0, v1}, Les/ax;->b(Landroid/view/Menu;)Z

    goto :goto_0

    .line 10
    :cond_1
    invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatActivity;->invalidateOptionsMenu()V

    :goto_0
    return-void
.end method

.method public e(Z)V
    .locals 1

    .line 2
    new-instance v0, Les/ax$g;

    invoke-direct {v0, p0, p1}, Les/ax$g;-><init>(Les/ax;Z)V

    invoke-virtual {p0, v0}, Les/zw;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method public f()V
    .locals 3

    .line 5
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    if-eqz v0, :cond_0

    const/4 v1, 0x1

    .line 6
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/view/i;->a(Z)V

    .line 7
    :cond_0
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const-string v1, "edit_mode"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 8
    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_1
    const/4 v0, 0x0

    .line 9
    iput-boolean v0, p0, Les/ax;->R:Z

    .line 10
    iget-object v1, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    if-eqz v1, :cond_2

    .line 11
    invoke-virtual {v1}, Landroidx/appcompat/view/ActionMode;->finish()V

    .line 12
    :cond_2
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    instance-of v2, v1, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;

    if-eqz v2, :cond_3

    .line 13
    invoke-virtual {v1}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->D()Z

    move-result v1

    if-eqz v1, :cond_3

    .line 14
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->g(Z)V

    .line 15
    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/esclasses/ESAbsToolbarActivity;->f(Z)V

    .line 16
    :cond_3
    iget-object v0, p0, Les/ax;->z:Landroid/view/Menu;

    if-eqz v0, :cond_4

    .line 17
    invoke-virtual {p0, v0}, Les/ax;->b(Landroid/view/Menu;)Z

    goto :goto_0

    .line 18
    :cond_4
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Landroidx/appcompat/app/AppCompatActivity;->invalidateOptionsMenu()V

    :goto_0
    return-void
.end method

.method public g()Landroid/view/View;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method

.method public h()Landroid/view/View;
    .locals 1

    .line 2
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    return-object v0

    .line 3
    :cond_0
    iget-object v0, p0, Les/ax;->o:Landroidx/appcompat/widget/Toolbar;

    invoke-virtual {v0}, Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    return-object v0
.end method

.method public i()Z
    .locals 2

    .line 2
    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_0

    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/view/i;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    return v1

    .line 3
    :cond_0
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    if-eqz v0, :cond_1

    .line 4
    invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->finish()V

    return v1

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public j()V
    .locals 2

    .line 2
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    if-eqz v0, :cond_0

    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const-string v1, "edit_mode"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/view/i;->b(Z)V

    .line 4
    :cond_0
    iget-object v0, p0, Les/ax;->o:Landroidx/appcompat/widget/Toolbar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 5
    iget-boolean v0, p0, Les/ax;->R:Z

    if-eqz v0, :cond_2

    .line 6
    iput-boolean v1, p0, Les/ax;->R:Z

    .line 7
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object v0

    if-nez v0, :cond_1

    return-void

    .line 8
    :cond_1
    invoke-virtual {p0}, Les/ax;->r()V

    :cond_2
    return-void
.end method

.method public k()V
    .locals 2

    .line 2
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/view/i;->b(Z)V

    :cond_0
    const/4 v0, 0x1

    .line 4
    iput-boolean v0, p0, Les/ax;->R:Z

    .line 5
    iget-object v0, p0, Les/ax;->o:Landroidx/appcompat/widget/Toolbar;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 6
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    if-eqz v0, :cond_1

    .line 7
    invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->finish()V

    :cond_1
    return-void
.end method

.method public l()Z
    .locals 4

    .line 2
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/view/i;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    return v1

    .line 4
    :cond_0
    :try_start_0
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    const/4 v2, 0x0

    const v3, 0x7f090787

    if-eqz v0, :cond_1

    .line 5
    iget-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    invoke-virtual {v0}, Landroidx/appcompat/view/ActionMode;->getMenu()Landroid/view/Menu;

    move-result-object v0

    invoke-interface {v0, v3, v2}, Landroid/view/Menu;->performIdentifierAction(II)Z

    goto :goto_0

    .line 6
    :cond_1
    iget-object v0, p0, Les/ax;->z:Landroid/view/Menu;

    if-eqz v0, :cond_2

    .line 7
    iget-object v0, p0, Les/ax;->z:Landroid/view/Menu;

    invoke-interface {v0, v3, v2}, Landroid/view/Menu;->performIdentifierAction(II)Z
    :try_end_0
    .catch Ljava/lang/NoSuchMethodError; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_2
    :goto_0
    return v1
.end method

.method public m()V
    .locals 1

    .line 2
    iget-object v0, p0, Les/ax;->C:Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;->a()V

    return-void
.end method

.method public p()V
    .locals 0

    return-void
.end method

.method public q()V
    .locals 7

    .line 2
    iget-boolean v0, p0, Les/zw;->d:Z

    const/4 v1, 0x0

    const v2, 0x7f0c0281

    const/4 v3, 0x0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Les/zw;->c:Z

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Les/zw;->e:Landroid/view/LayoutInflater;

    const v4, 0x7f0c0082

    invoke-virtual {v0, v4, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    const v4, 0x7f090b30

    .line 4
    invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    .line 5
    iget-object v5, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v5, v5, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k:Landroid/widget/FrameLayout;

    invoke-virtual {v5, v0}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 6
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p0}, Les/ax;->v()Landroid/view/View;

    move-result-object v5

    iput-object v5, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k0:Landroid/view/View;

    .line 7
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    .line 8
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    iget v0, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    mul-int/lit8 v0, v0, 0x3

    div-int/lit8 v0, v0, 0xa

    const/4 v6, -0x1

    invoke-direct {v5, v0, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 9
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k0:Landroid/view/View;

    invoke-virtual {v4, v0, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 10
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v5, p0, Les/zw;->e:Landroid/view/LayoutInflater;

    invoke-virtual {v5, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->l:Landroid/view/View;

    .line 11
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v1, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v2, 0x3f800000    # 1.0f

    .line 12
    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    .line 13
    iget-object v2, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v2, v2, Lcom/estrongs/android/pop/view/FileExplorerActivity;->l:Landroid/view/View;

    invoke-virtual {v4, v2, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 14
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->c0()Lcom/estrongs/android/pop/app/leftnavigation/h0;

    .line 15
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v2, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k0:Landroid/view/View;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->setTabletSideBar(Landroid/view/View;)V

    goto :goto_0

    .line 16
    :cond_0
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v4, p0, Les/zw;->e:Landroid/view/LayoutInflater;

    invoke-virtual {v4, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->l:Landroid/view/View;

    .line 17
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v2, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k:Landroid/widget/FrameLayout;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->l:Landroid/view/View;

    invoke-virtual {v2, v0}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 18
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->c0()Lcom/estrongs/android/pop/app/leftnavigation/h0;

    .line 19
    :goto_0
    new-instance v0, Landroid/widget/FrameLayout$LayoutParams;

    iget-object v2, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/high16 v3, 0x42080000    # 34.0f

    invoke-static {v2, v3}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v2

    iget-object v3, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/high16 v4, 0x422c0000    # 43.0f

    invoke-static {v3, v4}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v3

    const/16 v4, 0x15

    invoke-direct {v0, v2, v3, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    .line 20
    new-instance v2, Landroid/view/View;

    iget-object v3, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v2, v3}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v3, 0x7f0800b4

    .line 21
    invoke-virtual {p0, v3}, Les/zw;->b(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 22
    new-instance v3, Les/ax$q;

    invoke-direct {v3, p0}, Les/ax$q;-><init>(Les/ax;)V

    invoke-virtual {v2, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 23
    iget-object v3, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v3, v3, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k:Landroid/widget/FrameLayout;

    invoke-virtual {v3, v2, v0}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 24
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->c0()Lcom/estrongs/android/pop/app/leftnavigation/h0;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/app/leftnavigation/h0;->a(Landroid/view/View;)V

    .line 25
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/ui/theme/b;->a()Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 26
    invoke-direct {p0}, Les/ax;->G()V

    .line 27
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v2, 0x7f09092b

    invoke-virtual {v0, v2}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Les/ax;->v:Landroid/widget/ProgressBar;

    const/16 v2, 0x8

    .line 28
    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 29
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v3, 0x7f09047c

    invoke-virtual {v0, v3}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;

    iput-object v0, p0, Les/ax;->C:Lcom/estrongs/android/ui/controller/widget/ESFloatingActionButton;

    .line 30
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v3, 0x7f090252

    invoke-virtual {v0, v3}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    .line 31
    new-instance v0, Les/sy;

    iget-object v3, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-boolean v4, p0, Les/zw;->b:Z

    invoke-direct {v0, v3, v4}, Les/sy;-><init>(Landroid/content/Context;Z)V

    iput-object v0, p0, Les/ax;->H:Les/sy;

    const v3, 0x7f0602e5

    .line 32
    invoke-virtual {v0, v3}, Les/py;->e(I)V

    .line 33
    iget-object v0, p0, Les/ax;->H:Les/sy;

    invoke-virtual {v0}, Les/sy;->l()Lcom/estrongs/android/ui/view/i;

    move-result-object v0

    iput-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    .line 34
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    const-string v3, "edit_mode"

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 35
    iget-object v0, p0, Les/ax;->H:Les/sy;

    iget-object v1, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget v1, v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->i:I

    invoke-virtual {v0, v1}, Les/sy;->f(I)V

    .line 36
    iget-object v0, p0, Les/ax;->H:Les/sy;

    invoke-virtual {v0}, Les/sy;->n()V

    goto :goto_1

    .line 37
    :cond_1
    iget-object v0, p0, Les/ax;->G:Lcom/estrongs/android/ui/view/i;

    iget-object v3, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v3, v3, Lcom/estrongs/android/pop/view/FileExplorerActivity;->z:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Lcom/estrongs/android/ui/view/i;->a(Ljava/lang/String;Ljava/lang/Boolean;)V

    .line 38
    :goto_1
    iget-object v0, p0, Les/ax;->F:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 39
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x14

    if-lt v0, v1, :cond_2

    .line 40
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->l:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->requestApplyInsets()V

    goto :goto_2

    :cond_2
    const/16 v1, 0x10

    if-lt v0, v1, :cond_3

    .line 41
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->l:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->requestFitSystemWindows()V

    :cond_3
    :goto_2
    return-void
.end method

.method public r()V
    .locals 2

    .line 2
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->A1(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->r1(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->j1(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 4
    iget-object v0, p0, Les/zw;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v1, p0, Les/ax;->S:Landroidx/appcompat/view/ActionMode$Callback;

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AppCompatActivity;->startSupportActionMode(Landroidx/appcompat/view/ActionMode$Callback;)Landroidx/appcompat/view/ActionMode;

    move-result-object v0

    iput-object v0, p0, Les/ax;->Q:Landroidx/appcompat/view/ActionMode;

    :cond_0
    return-void
.end method

.method public s()Ljava/lang/String;
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/ax;->w()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return-object v0

    .line 2
    :cond_0
    iget-object v0, p0, Les/ax;->t:Ljava/lang/String;

    return-object v0
.end method

.method public u()Landroid/view/View;
    .locals 3

    .line 1
    iget-object v0, p0, Les/zw;->e:Landroid/view/LayoutInflater;

    const v1, 0x7f0c02ca

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public v()Landroid/view/View;
    .locals 3

    .line 1
    iget-object v0, p0, Les/zw;->e:Landroid/view/LayoutInflater;

    const v1, 0x7f0c0287

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public w()Z
    .locals 1

    .line 1
    iget-object v0, p0, Les/ax;->q:Landroid/view/MenuItem;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    .line 2
    :cond_0
    invoke-static {v0}, Landroidx/core/view/MenuItemCompat;->isActionViewExpanded(Landroid/view/MenuItem;)Z

    move-result v0

    return v0
.end method
